package com.yun.blog.bean.response;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : simple
 * @title : BaiduUserInfo
 * @projectName : dantouBlog-back
 * @description : baidu 返回的 Userinfo
 * @email : yun_simple@163.com
 * @date : 2023/6/6下午10:04
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaiduUserInfo extends OauthUserInfo{


    @JSONField(name = "openid")
    private String openId;


    @JSONField(name = "username")
    private String userNickName;

    /**用户的头像编号，具体还需要拼接获取**/
    @JSONField(name = "portrait")
    private String portrait;

    /**百度的自我简介，就是个性签名**/
    @JSONField(name = "userdetail")
    private String signature;


}
